﻿using Server.Contract;
using WCFLib;

namespace Server.Manage
{
    public class WCFClient
    {
        private static ProxyHelper<IPublishService> _publishService;

        public static ProxyHelper<IPublishService> PublishService
        {
            get
            {
                if (_publishService == null)
                {
                    _publishService = new ProxyHelper<IPublishService>("net.tcp://localhost:8080/");
                }

                return _publishService;
            }
        }
    }
}
